<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" type="text/css" href="./z-popup.css">
</head>
<body>
<button class="btn" id="show-default-popup">基础弹窗</button>
<button class="btn" id="show-drag-popup">可拖拽拉伸弹窗</button>
<div class="mask"></div>
<div class="z-popup-box" id="js-default-popup">
  <div class="title-box">
    <img class="icon-close" id="hide-default-popup" src="" alt="">
  </div>
</div>

</body>
<script src="../../jquery-3.6.0.min.js"></script>
<script src="./z-popup.js"></script>
</html>